package com.eportal.vo.controller.background.fix;

import java.util.Date;

/**
 * 报修详情
 * Created by Saber on 2017/8/24.
 */
public class ApplyDetailVO {

    //报修详情
    /**
     * 报修内容
     */
    private String intro;
    /**
     * 业主填写的最早上门时间
     */
    private Date applyStartTime;
    /**
     * 业主填写的最晚上门时间
     */
    private Date applyEndTime;
    /**
     * 上传图片路径 用,隔开
     */
    private String pic;


    //维修进度
    /**
     * sId          if(sId != null)  lc1=待处理  lc2=已提交报修需求，等待物业处理  time=cTime
     */
    private Long sId;
    /**
     * 申请时间
     */
    private Date cTime;
    /**
     * 回复时间     if(replyTime != null)  lc1=正在处理  lc2=物业已确认，即将上门维修  time=replyTime
     */
    private Date replyTime;
    /**
     * 完成时间     if(finishTime != null && status == 4)  lc1=完成维修  lc2=维修师傅已上门，完成维修  time=finishTime
     */
    private Date finishTime;
    /**
     * 撤销时间     if(cancelTime != null && status == 2)  lc1=已撤销  lc2=已撤销报修申请  time=cancelTime
     */
    private Date cancelTime;
    /**
     * 状态：1:已申请，2：已撤销，3：维修中，4：维修完成，5:待接单
     */
    private String status;

    public Date getApplyEndTime() {
        return applyEndTime;
    }

    public void setApplyEndTime(Date applyEndTime) {
        this.applyEndTime = applyEndTime;
    }

    public Date getApplyStartTime() {
        return applyStartTime;
    }

    public void setApplyStartTime(Date applyStartTime) {
        this.applyStartTime = applyStartTime;
    }

    public Date getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Date cancelTime) {
        this.cancelTime = cancelTime;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ApplyDetailVO{");
        sb.append("applyEndTime=").append(applyEndTime);
        sb.append(", intro='").append(intro).append('\'');
        sb.append(", applyStartTime=").append(applyStartTime);
        sb.append(", pic='").append(pic).append('\'');
        sb.append(", sId=").append(sId);
        sb.append(", cTime=").append(cTime);
        sb.append(", replyTime=").append(replyTime);
        sb.append(", finishTime=").append(finishTime);
        sb.append(", cancelTime=").append(cancelTime);
        sb.append(", status='").append(status).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
